package com.aaa.stock.dao.medic;

import com.aaa.entity.Medicines;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import org.apache.ibatis.annotations.Delete;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Service;

import java.util.List;

public interface MedicinesDao extends BaseMapper<Medicines> {

    @Delete(value = "delete from stock_medicines where medicines_id=#{medicinesIds}")
    void deleteMedic(Long medicinesIds);
}
